/*
 * @Author: quit
 * @Date: 2021-11-09 16:01:11
 * @LastEditTime: 2021-12-30 15:09:16
 * @Descripttion: VueX 主文件
 */
// VueX引用并挂载
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import tagsView from './modules/tagsView'
import router from './modules/router'
import ToPo from './modules/topo-eventbus'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        app,
        settings,
        user,
        tagsView,
        router,
        ToPo
    },
    getters
})

export default store
